package id.laskarmedia.opnvpn_flutter.util;

import android.content.Intent;
import android.util.Log;

import id.laskarmedia.opnvpn_flutter.ContextHelper;

public class PermissionUtil {

    public static boolean requestVPNPermission() {
        Intent intent = ContextHelper.getVPNServiceIntent();
        if (intent == null) {
            return true;
        }
        Log.e("prepareVpn", String.valueOf(intent));
        ContextHelper.startForResult(intent, 1);
        return true;
    }
}
